﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using VisionCloud.Core.Model.Ms;

namespace VisionCloud.Core.ModelConfig.Measure
{
    public class MsProTagMapConfig : IEntityTypeConfiguration<MsProTagMap>
    {
        public void Configure(EntityTypeBuilder<MsProTagMap> builder)
        {
            builder.ToTable("Pro_Tagmap")
                .HasKey(w => new {w.Tagid, w.Projectid});
        }
    }
}